﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Web.Configuration;
using System.Data;

public partial class Pocetna : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click1(object sender, EventArgs e)
    {
        Response.Redirect("Pregled.aspx");
    }
    protected void btnPotvrda_Click(object sender, EventArgs e)
    {
        WebServiceM.Muzei m = new WebServiceM.Muzei();
        int rezultat = m.VratiCena(Convert.ToInt32(txtVnesID.Text));
        WebServiceM.Muzei w = new WebServiceM.Muzei();
        string rezultat2 = w.VratiImeMuzej(Convert.ToString(txtVnesID.Text));
        lblrezCena.Text = " Вие се наоѓате пред " + rezultat2.ToString() + " за да влезете треба да платите " + rezultat.ToString() + " денари";

    }
}